<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            float: left;
            margin: 5px;
            overflow: hidden;
        }

        div a img {
            width: 200px;
            transition: all 0.8s;
            /* transform-origin: bottom right; */
        }
        div a img:hover{
        transform: scale(5);
        }
    </style>
</head>

<body>
    <div><a href="#"><img src="media/自拍.jpg" alt=""></a></div>
    <div><a href="#"><img src="media/自拍.jpg" alt=""></a></div>
    <div><a href="#"><img src="media/自拍.jpg" alt=""></a></div>
    <div><a href="#"><img src="media/自拍.jpg" alt=""></a></div>
</body>

</html>